import Vue from 'vue'
import Router from 'vue-router'
import ShowCar from '@/components/ShowCar'
import InsertCar from '@/components/InsertCar'
import UpdateCar from '@/components/UpdateCar'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'ShowCar',
      component: ShowCar
    },
    {
      path: '/insertCar',
      name: 'InsertCar',
      component: InsertCar
    },
    {
      path: '/updateCar',
      name: 'UpdateCar',
      component: UpdateCar
    }
  ]
})
